#ifndef FND_CAR_SERVER_H_
#define FND_CAR_SERVER_H_
#include <ltbasedefs.h>
#include <ltengineobjects.h>
class hkpRigidBody ;
class car : public BaseClass {
public:
    typedef car class_type ;
    typedef BaseClass base_type ;
    car() ;
    ~car() ;
    uint32 OnPrecreate(ObjectCreateStruct* pcreate, float type) ;
    LTVector position() const ;
    void set_position(const LTVector& pos) ;
    LTRotation rotation() const ;
    void set_rotation(const LTRotation& rot) ;
    const LTVector& speed() const {return m_speed ;}
    bool set_absolute_speed(const LTVector& speed) ;
    bool init_from_property(const char* propertyname);


	//temp
	void init_render_property();


private:
    void read_props(ObjectCreateStruct* pStruct) ;
    LTVector m_speed ;
    hkpRigidBody* m_physicsBody ;
	car* m_point;
    
} ;

#endif
